package com.cskaoyan.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author LiaoLong
 * @date 2021-05-10 23:35
 */
@Component
@ConfigurationProperties(prefix = "file")
@Data
public class FileProperties {
    private String adminPath;

    private String wxPath;

    private String type;

    private int maxSize;

    private String from;

    private String url;
}
